package com.tiancheng.trade.settlement.service.settlement;

import com.tiancheng.trade.commom.core.data.PageInfo;
import com.tiancheng.trade.commom.core.data.Result;
import com.tiancheng.trade.settlement.model.settlement.CouponBill;
import com.tiancheng.trade.settlement.vo.settlement.admin.CouponBillQueryVO;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 优惠券账单
 */
public interface ICouponBillService {
    void handleCouponBillData(String date);

    /**
     * 查询优惠券账单
     * @param queryVO
     * @return
     */
    PageInfo<CouponBill> query(CouponBillQueryVO queryVO);

    Result export(CouponBillQueryVO queryVO, HttpServletRequest request, HttpServletResponse response) throws IllegalAccessException, IOException;
}
